<ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">

	<p:panel rendered="#{tipoContatoBean.CRUDRendered}" id="painel">
		<f:facet name="header">
			<h:outputText value="#{label.tipo_contato_manutencao}" />
		</f:facet>

		<h:panelGrid columns="2">
			<h:outputText value="#{label.tipo_contato_id}" />
			<p:inputText value="#{tipoContatoBean.registroSelecionado.idTipoContato}" disabled="true" />

			<h:outputText value="#{label.tipo_contato}" />
			<p:inputText value="#{tipoContatoBean.registroSelecionado.tipoContato}" />

			<h:outputText value="#{label.abstract_persistence_ativo}" />
			<p:selectBooleanCheckbox value="#{tipoContatoBean.registroSelecionado.ativo}" />

			<h:panelGroup rendered="#{CRUDSession.grupoPersistenciaRendered}">
				<p:commandButton value="#{label.salvar}" process="painel" actionListener="#{CRUDSession.crudEmExibicao.salvarActionEvent}" update="@form" />/>
				<p:commandButton value="#{label.voltar}" process="@this" immediate="true" actionListener="#{CRUDSession.crudEmExibicao.acessarPaginaListagem}" update="@form" />
			</h:panelGroup>
		</h:panelGrid>
	</p:panel>
</ui:composition>
